<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="{$row.goods_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_item_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_item_id" data-rule="required" data-source="goods/item/index" class="form-control selectpage" name="row[goods_item_id]" type="text" value="{$row.goods_item_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Danwei')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-danwei" class="form-control" name="row[danwei]" type="text" value="{$row.danwei|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_day" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[s_day]" type="text" value="{$row.s_day}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b_num" class="form-control" name="row[b_num]" type="number" value="{$row.b_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_day" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[e_day]" type="text" value="{$row.e_day}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Youhui_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-youhui_price" class="form-control" step="0.01" name="row[youhui_price]" type="number" value="{$row.youhui_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zong_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zong_price" class="form-control" step="0.01" name="row[zong_price]" type="number" value="{$row.zong_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Emo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-emo" class="form-control" name="row[emo]" type="text" value="{$row.emo|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
